package com.hoas.quickstart.threads.chapter04.chapter04_1_3;

public class ThreadB extends Thread {

    private MyService service = new MyService();

    public ThreadB(MyService service) {
        this.service = service;
    }

    @Override
    public void run() {
        service.waitMethod();
    }


}
